package com.chinasofti.controller;

import org.springframework.web.bind.annotation.*;

@RestController
public class RestHandler {
    @GetMapping("/user")
    public String getUser(){
        return "get";
    }
    @PostMapping("/user")
    public String postUser(){
        return "post";
    }
    @DeleteMapping("/user")
    public String deleteUser(){
        return "delete";
    }
    @PutMapping("/user")
    public String putUser(){
        return "put";
    }
}
